Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(config): changed two feature flags types from boolean to string. #184

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

kkotula
Copy link
Contributor

@kkotula kkotula commented Dec 13, 2023

When merging two configurations - the default one defined in the application’s code and the user-defined one - if a feature flag is set to false in the user config but set to true in the default config, the default value will take precedence over the user-defined value. In such case, it is impossible to disable the feature.

When merging two configurations - the default one defined in the application’s code and the user-defined one - if a feature flag is set to false in the user config but set to true in the default config, the default value will take precedence over the user-defined value. In such case, it is impossible to disable the feature.
@kkotula kkotula force-pushed the fix(config)/unoverridable_feature_flags branch from 30d093a to e93a989 Compare December 13, 2023 13:53
@coveralls
Copy link

Coverage Status

coverage: 54.625%. remained the same
when pulling e93a989 on fix(config)/unoverridable_feature_flags
into 1d5ba8c on master.

@kkotula kkotula requested a review from ovidiupopa07 December 13, 2023 13:58
Copy link
Contributor

@ovidiupopa07 ovidiupopa07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm 🚀

@kkotula kkotula merged commit 8ef8f0f into master Dec 14, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants